package com.todo.content.iface.frontend.request;

import com.todo.common.common.entity.CurrentUser;
import com.todo.common.common.entity.request.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author azhebuxing
 * @date 2024/5/9 14:43
 * @description
 */
@Data
@Schema(title = "根据话题查询内容列表入参", description = "根据话题查询内容列表入参")
public class QueryContentByTopicParam extends PageRequest {

    private CurrentUser _user;

    @Schema(title = "话题code", description = "话题code")
    private Long topicId;

    public boolean baseCheck() {
        if (topicId == null){
            return false;
        }
        return true;
    }
}
